Update the shippingDocs field of an existing assignment.
Rate limit: 5 requests/sec (learn more about rate limits here).
To use this endpoint, select Write ELD Hours of Service (US) under the Compliance category when creating or editing an API token. Learn More.
Submit Feedback: Likes, dislikes, and API feature requests should be filed as feedback in our API feedback form. If you encountered an issue or noticed inaccuracies in the API documentation, please submit a case to our support team.
curl --request PATCH \
--url https://api.samsara.com/hos/daily-logs/log-meta-data \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"shippingDocs": "ShippingID1, ShippingID2"
}
'{
"data": {
"adverseDrivingClaimed": false,
"bigDayClaimed": true,
"carrierFormattedAddress": "1990 Alameda Street, San Francisco, CA 94103",
"carrierName": "Carrier Name",
"carrierUsDotNumber": 1234,
"homeTerminalFormattedAddress": "1990 Alameda Street, San Francisco, CA 94103",
"homeTerminalName": "Home Terminal Name",
"isCertified": true,
"isUsShortHaulActive": true,
"trailerNames": [
"10293",
"Trailer ID 1"
]
}
}Documentation Index
Fetch the complete documentation index at: https://samsara-showcase.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
A start date in yyyy-mm-dd format. Required.
ID of the driver for whom the duty status is being set.
Update the shippingDocs field.
ShippingDocs associated with the driver for the day.
"ShippingID1, ShippingID2"
OK response.
Response after successfully updating the LogMetaData object.
Show child attributes
curl --request PATCH \
--url https://api.samsara.com/hos/daily-logs/log-meta-data \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"shippingDocs": "ShippingID1, ShippingID2"
}
'{
"data": {
"adverseDrivingClaimed": false,
"bigDayClaimed": true,
"carrierFormattedAddress": "1990 Alameda Street, San Francisco, CA 94103",
"carrierName": "Carrier Name",
"carrierUsDotNumber": 1234,
"homeTerminalFormattedAddress": "1990 Alameda Street, San Francisco, CA 94103",
"homeTerminalName": "Home Terminal Name",
"isCertified": true,
"isUsShortHaulActive": true,
"trailerNames": [
"10293",
"Trailer ID 1"
]
}
}